package com.neusoft.ysu.populationmanagement.service;

import com.neusoft.ysu.populationmanagement.entity.CommonResult;
import com.neusoft.ysu.populationmanagement.entity.ResPop;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者：赵子鉴
 * @since 2024-06-18
 */
public interface IResPopService  {

    /**
     * @author 张幸晔
     * @date 2024-06-19 21:06
     * @param resPop
     * @return 1，0
     */

    CommonResult updateRP(ResPop resPop);

    CommonResult selectRPBYPopId(Long popId);

    CommonResult insertResPop(ResPop resPop);


    CommonResult selectRPByHouseNum(String houseNum);

    CommonResult deleteResPopByPopId(Long id);
}
